#ifndef WALLPERWIDGET_H
#define WALLPERWIDGET_H

#include <QWidget>

namespace Ui {
class WallperWidget;
}

class WallperWidget : public QWidget
{
    Q_OBJECT

public:
    explicit WallperWidget(QWidget *parent = nullptr);
    ~WallperWidget();

protected:
    virtual bool setWallpaperWithWinAPI(const QString &imagePath);

public slots:
    void updateWallapperListView();

private slots:
    void on_wallpaperListView_clicked(const QModelIndex &index);

    void on_setWallpaper_clicked();

private:
    Ui::WallperWidget *ui;
};

#endif // WALLPERWIDGET_H
